package com.komorebishao.crm.service;

import com.github.pagehelper.PageInfo;
import com.komorebishao.crm.dto.CustomerQuery;
import com.komorebishao.crm.pojo.CrmCustomer;

/**
 * @Author: KomorebiShao
 * @Description:
 * @Date: Created in 2020-07-03
 * @Modified By:
 */
public interface CustomerService {

    PageInfo<CrmCustomer> selectCustomerList(CustomerQuery query);

    CrmCustomer selectById(Integer id);

    boolean updateCustomer(CrmCustomer crmCustomer);

    boolean deleteCustomerById(Long id);
}
